﻿ 
#include "stdafx.h"	 
#include "PlaySound.h"
#include <MMSystem.h>

#pragma comment(lib, "winmm.lib")


 CORE_API int PlaySoundFile(const WCHAR* fullPath)
{
   if( !PlaySoundW( fullPath, NULL,   SND_SYNC  // SND_ASYNC
	   ) )
   {
	   return -1;
   } 

	return 0;
}

